package com.forsythia.sns.to;

import java.util.HashSet;
import java.util.Set;

public class ArticleTO extends BaseTO {
    private static final long serialVersionUID = -2693787831522672074L;

    private String articleId;
    private UserTO user;
    private String articleName;
    private String articleContent;

    private Set<CommentTO> comments = new HashSet<CommentTO>(0);

    public ArticleTO() {
    }

    public String getArticleId() {
        return this.articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public UserTO getUser() {
        return this.user;
    }

    public void setUser(UserTO user) {
        this.user = user;
    }

    public String getArticleName() {
        return this.articleName;
    }

    public void setArticleName(String articleName) {
        this.articleName = articleName;
    }

    public String getArticleContent() {
        return this.articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public Set<CommentTO> getComments() {
        return this.comments;
    }

    public void setComments(Set<CommentTO> comments) {
        this.comments = comments;
    }

}